package com.jiangSheng.mall.app.bean;

import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModel;

@ApiModel(value="购物车对象")
public class ShoppingCar {
	private Long id;//购物车ID

    private Long goodsId;//商品ID
    private Integer quantity;//购买数量
    private BigDecimal shoppingCarPrice;//添加到购物车的价格
    private String sp1;//规格1
    private String sp2;//规格2
    private String sp3;//规格3
    private String goodsPic;//商品主图
    private String goodsName;//商品名称
    private String productSubTitle;
    private Integer userId;//用户id
    private String userName;//用户昵称
    private Date createDate;//创建时间
    private Date modifyDate;//修改时间
    private Integer deleteStatus;//是否删除
    private Long goodsTypeId;//商品类型ID
    private String brandId;//品牌ID
    private String brandName;//品牌名称
    private String goodsCode;//商品货号
	public ShoppingCar(Long id, Long goodsId, Integer quantity, BigDecimal shoppingCarPrice, String sp1, String sp2,
			String sp3, String goodsPic, String goodsName, String productSubTitle, String userName, Date createDate,
			Date modifyDate, Integer deleteStatus, Long goodsTypeId, String brandId, String brandName,
			String goodsCode) {
		super();
		this.id = id;
		this.goodsId = goodsId;
		this.quantity = quantity;
		this.shoppingCarPrice = shoppingCarPrice;
		this.sp1 = sp1;
		this.sp2 = sp2;
		this.sp3 = sp3;
		this.goodsPic = goodsPic;
		this.goodsName = goodsName;
		this.productSubTitle = productSubTitle;
		this.userName = userName;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.deleteStatus = deleteStatus;
		this.goodsTypeId = goodsTypeId;
		this.brandId = brandId;
		this.brandName = brandName;
		this.goodsCode = goodsCode;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getGoodsId() {
		return goodsId;
	}
	public void setGoodsId(Long goodsId) {
		this.goodsId = goodsId;
	}
	public Integer getQuantity() {
		return quantity;
	}
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}
	public BigDecimal getShoppingCarPrice() {
		return shoppingCarPrice;
	}
	public void setShoppingCarPrice(BigDecimal shoppingCarPrice) {
		this.shoppingCarPrice = shoppingCarPrice;
	}
	public String getSp1() {
		return sp1;
	}
	public void setSp1(String sp1) {
		this.sp1 = sp1;
	}
	public String getSp2() {
		return sp2;
	}
	public void setSp2(String sp2) {
		this.sp2 = sp2;
	}
	public String getSp3() {
		return sp3;
	}
	public void setSp3(String sp3) {
		this.sp3 = sp3;
	}
	public String getGoodsPic() {
		return goodsPic;
	}
	public void setGoodsPic(String goodsPic) {
		this.goodsPic = goodsPic;
	}
	public String getGoodsName() {
		return goodsName;
	}
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	public String getProductSubTitle() {
		return productSubTitle;
	}
	public void setProductSubTitle(String productSubTitle) {
		this.productSubTitle = productSubTitle;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Date getModifyDate() {
		return modifyDate;
	}
	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}
	public Integer getDeleteStatus() {
		return deleteStatus;
	}
	public void setDeleteStatus(Integer deleteStatus) {
		this.deleteStatus = deleteStatus;
	}
	public Long getGoodsTypeId() {
		return goodsTypeId;
	}
	public void setGoodsTypeId(Long goodsTypeId) {
		this.goodsTypeId = goodsTypeId;
	}
	public String getBrandId() {
		return brandId;
	}
	public void setBrandId(String brandId) {
		this.brandId = brandId;
	}
	public String getBrandName() {
		return brandName;
	}
	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}
	public String getGoodsCode() {
		return goodsCode;
	}
	public void setGoodsCode(String goodsCode) {
		this.goodsCode = goodsCode;
	}
	public ShoppingCar() {
		super();
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
    
    
}
